



import java.net.*;
import java.text.DateFormat;
import java.util.Date;
import java.io.*;
public class TestServeurThreadTCP  {
	final static int port = 2255;





	/*  public static DateTime Timeout = System.DateTime.Now;badalok

     public delegate void UpdateControlText(string myString);
     public UpdateControlText myDelegate;
     public AvlData ObjAvl = new AvlData();
	 */



	 public static void main(String[] args) {

		 try {
			 ServerSocket socketServeur = new ServerSocket(port);
			 System.out.println("Lancement du serveur");
//			 AvlData avl = new AvlData();
//			 avl.getAVLData("0000000000000387081E000001206BEAA09C00015FDAAE1D141DC0004E00F1070000000000000000000001206BEA2AF400015FDAAE1D141DC0005100F1080000000000000000000001206BE9B54C00015FDAAE1D141DC0005800F1070000000000000000000001206BE93FA400015FDAAE1D141DC0005200F1080000000000000000000001206BE8C9FC00015FDAAE1D141DC0005000F1080000000000000000000001206BE8545400015FDAAE1D141DC0004D00F1080000000000000000000001206BE7DEAC00015FDAAE1D141DC0004D00F1080000000000000000000001206BE7690400015FDAAE1D141DC0005000F1080000000000000000000001206BE6F35C00015FDAAE1D141DC0005500F1090000000000000000000001206BE67DB400015FDAAE1D141DC0004F00F1080000000000000000000001206BE6080C00015FDAAE1D141DC0004E00F1090000000000000000000001206BE5926400015FDAAE1D141DC0004D00F1090000000000000000000001206BE51CBC00015FDAAE1D141DC0004100F1080000000000000000000001206BE4A71400015FDAAE1D141DC0003800F1090000000000000000000001206BE4316C00015FDAAE1D141DC0004600F1080000000000000000000001206BE3BBC400015FDAAE1D141DC0004800F1090000000000000000000001206BE3461C00015FDAAE1D141DC0004A00F1090000000000000000000001206BE2D07400015FDAAE1D141DC0004400F1090000000000000000000001206BE25ACC00015FDAAE1D141DC0004700F1090000000000000000000001206BE1E52400015FDAAE1D141DC0005200F1090000000000000000000001206BE16F7C00015FDAAE1D141DC0004700F1080000000000000000000001206BE0F9D400015FDAAE1D141DC0003A00F1080000000000000000000001206BE0842D00015FDAAE1D141DC0003400F1070000000000000000000001206BE00E8400015FDB961D141D80002F0151060000000000000000000001206BDF98DC00015FDB961D141D8000370151060000000000000000000001206BDF233400015FDB961D141D8000320151060000000000000000000001206BDEAD8C00015FDB961D141D8000400151060000000000000000000001206BDE37E400015FDB961D141D8000460151060000000000000000000001206BDDC23C00015FDB961D141D80004C01510600000000000000000000012"+
//                    "06BDD4C9400015FDB961D141D80004201510500000000000000001E00006F5C");

			 while (true) {
				 Socket socketClient = socketServeur.accept();
				 TrackeurThread tracker = new TrackeurThread(socketClient);
				 tracker.start();
			 }
		 } 

		 catch (Exception e) {
			 e.printStackTrace();
		 }


	 }









}